package com.design.proxy.cglibproxy;

import net.sf.cglib.core.DebuggingClassWriter;

/**
 * cglib代理
 * @Author:         cong zhi
 * @CreateDate:     2021/3/21 13:09
 * @UpdateUser:     cong zhi
 * @UpdateDate:     2021/3/21 13:09
 * @UpdateRemark:   修改内容
 * @Version:        1.0
 */
public class CglibTest {
    public static void main(String[] args) {
        System.setProperty(DebuggingClassWriter.DEBUG_LOCATION_PROPERTY,"E://cglib_proxy_class");
        Zhansan instance = (Zhansan) new CglibMeipo().getInstance(Zhansan.class);
        instance.findLove();

    }
}
